.buddypress {
  .td-page-title .bp-title-button {
    float: right;
    padding: 0px;
  }
  #buddypress {

    //register page
    /* responsive phone */
    @media (max-width: 767px) {
      #signup_form.standard-form div.submit {
        float: none;
      }
    }

    #whats-new-post-in, #whats-new-submit {
      margin-top: 6px !important;
    }
    #whats-new:focus {
      border: 1px solid #EAEAEA !important;
    }

    .message-search {
      display: inline !important;
      float: right !important;
      width: 280px;
      margin-right: 0px !important;
      margin-top: 43px !important;
    }

    #item-header {
      #item-header-content {
        .highlight {
          font-size: 100% !important;
        }
        #item-meta {
          font-size: 100% !important;

          p {
            color: #4b4b4b !important;
          }
        }
      }

      #item-actions {
        position: relative;
        top: -8px;
      }
    }

    //search field
    div.dir-search, .message-search {
      float: none;
      margin-top: -18px;
      height: 60px;

      input[type="text"] {
        background-color: #FCFCFC;
        border: 1px solid #F5F5F5;
        height: 24px !important;
        width: 200px;
        margin-bottom: 0px;
        padding: 4px 6px;
        float: left;

        &:focus {
          border-color: #EDEDED !important;
        }

      /* responsive phone */
        @media (max-width: 767px) {
          width: 65%;
        }
      }
      input[type="submit"] {
        .border-radius(0px);
        border: none;
        color: #ffffff;
        background: @td_theme_color;
        font-family: @font5;
        font-weight: normal;
        font-size:14px;
        height: 34px;
        float: left;
        padding-bottom: 7px;
        padding-top: 5px;
        margin-bottom: 4px;

        .transition(opacity @td_transition_time);

        &:hover {
          text-shadow: none;
          opacity: 0.8;
          .transition(opacity @td_transition_time);
        }
      }
    }
    .activity {

      #message {
        border-top: 1px solid #f5f5f5;
      }

      .activity-content {
        .activity-header {
          line-height: 21px !important;
          border-bottom: 1px solid #f5f5f5;
          border-top: 1px solid #f5f5f5;
          margin-right: 0px !important;

          a {
            font-family: @font5;

            img {
              margin: 0 6px 0px 6px !important;
              position: relative;
              top: -1px;
            }

            span {
              font-family: @font3;
              color: #888888 !important;
            }
          }
        }

        .activity-inner {
          margin-top: 11px;
        }
        .activity-inner p {
          margin: 0px !important;
        }

        .activity-meta {
          font-family: @font5;
          margin: 0px !important;

          a {
            border: none !important;
            padding: 4px 8px 4px 0px !important;

            &:hover, &:focus {
              background: none !important;
            }
          }
        }
      }

      ul.item-list {
        padding-top: 9px;
      }

      ul.item-list li {
        border: none !important;
      }

      .activity-comments {
        ul {
          padding: 0px !important;

          .acomment-avatar img {
            width: 40px !important;
            height: 40px !important;
          }
        }

        form {
          padding: 0px !important;
          margin: 0px !important;
        }

        .acomment-content, .acomment-content p  {
          margin: 0px !important;
        }

        .acomment-options {
          margin: 0px 0px 5px 49px !important;
        }
      }

      .created_group, .joined_group, .friendship_created {
        .activity-avatar img {
          width: 50px !important;
          height: 50px !important;
          margin: 0 10px 0 0 !important;
        }

        .activity-header p {
          font-size: 14px !important;
        }

        .activity-meta {
          margin-top: 2px !important;
        }
      }

      .ac-reply-avatar img {
        display: none;
      }

      .ac-reply-content {

        padding-left: 0px !important;

        input[type="submit"] {
          margin-top: 0px !important;
        }

        .ac-textarea {
          border: none !important;
          padding: 0px !important;

          textarea {
            border: 1px solid #EDEDED !important;
            width: 98% !important;
          }
        }
      }
    }

    #message p {
      margin-top: 30px !important;
    }

    .standard-form {
      input[type="checkbox"] {
        position: relative;
        top: -3px;
      }
    }

    // the 1 menu
    .item-list-tabs {

      ul li {
        &.selected a {
          color: #ffffff !important;
          background-color: @td_theme_color !important;
        }

        &.selected span {
          color: #FFFFFF !important;
          background-color: rgba(255, 255, 255, 0.4) !important;
          text-decoration: none !important;
        }

        a {
          font-family: @font5;
          font-weight: normal !important;
          padding: 5px 12px 5px 12px !important;
          opacity: 1 !important;
          color: #777777 !important;
          margin-right: 5px;

          &:hover {
            text-decoration: none !important;
            opacity: 0.8 !important;
          }

          span {
            border-radius: 0px !important;
            font-size: 100% !important;
            padding: 3px 9px !important;
            vertical-align: none !important;
            border: none !important;
            background-color: #f2f2f2 !important;
            margin: 0px 0px 0px 5px !important;
            position: relative;
            right: -5px;
          }
        }
      }

      .last {
        margin-top: 10px !important;
        padding: 50px 0px 10px 0px;

        label {
          display: inline-block;
          top: -3px;
          position: relative;
          margin-right: 10px;
        }
      }
    }

    // radio list disable list-style
    .radio {
      list-style: none;
    }

    //groups page
    .groups {
      .pagination {
        font-size: 100% !important;

        .pag-count {
          margin-left: 0px !important;
        }
      }

      .item-list {
        .item-title {
          span {
            font-size: 100% !important;
          }
        }

        .action {
          top: 31px !important;

        /* responsive phone */
          @media (max-width: 767px) {
            top: 0px !important;
            margin-left: 0px !important;
            margin-top: 3px !important;
          }
        }

        .item {
          margin-left: 0px !important;
        }
      }

      .item-title {
        width: auto !important;
        display: inline-block;
        font-size: 16px !important;
        font-family: @font5;
        margin-right: 10px !important;
      }

      // active data right on group page
      .item-meta {
        float: right;
        color: @td_theme_color !important;

      /* responsive phone */
        @media (max-width: 767px) {
          float: none;
        }
      }

      .item-desc {
        display: block;
        margin: 0px !important;
        width: 66% !important;
        p {
          margin-bottom: 0px !important;
          line-height: 21px;
          font-size: 14px !important;
        }
      }

      .action {
        position: static !important;
      }
    }

    // members page
    .members {
      .item-list {

      /* responsive phone */
        @media (max-width: 767px) {
          .item {
            margin-left: 60px !important;
          }
          .action {
            margin-left: 60px !important;
          }
        }

        .item-title {
          span {
            font-size: 100% !important;
          }
        }
      }
    }
    .item-list {
      h5 {
        margin-top: 0px !important;
        margin-bottom: 0px !important;
      }
    }

    //input fields
    .standard-form input[type="text"], .standard-form input[type="password"] {
      background-color: #FCFCFC !important;
      border: 1px solid #F5F5F5 !important;
      height: 24px !important;
      margin-bottom: 0px !important;
      padding: 4px 6px !important;

      &:focus {
        border-color: #EDEDED !important;
      }
    }

    .standard-form input[type="password"] {
      background-color: #FCFCFC !important;
      border: 1px solid #F5F5F5 !important;
      height: 24px !important;
      margin: 5px 0 5px 0px !important;
      padding: 4px 6px !important;

      &:focus {
        border-color: #EDEDED !important;
      }
    }

    .standard-form textarea  {
      background-color: #FCFCFC !important;
      border: 1px solid #F5F5F5 !important;
      margin-bottom: 0px !important;
      padding: 4px 6px !important;

      &:focus {
        border-color: #EDEDED !important;
      }
    }

    //upload file
    #avatar-upload  {
      padding-top: 6px;
    }
    input[type="file"] {
      font-size: 14px;
      vertical-align: baseline;
      height: auto !important;
    }


    //buttons
    .generic-button a, .submit input[type="submit"], .ac-reply-content input[type="submit"], .standard-form input[type="submit"], .standard-form .button-nav .current a, .standard-form .button, input[type="submit"], a.accept, .standard-form #group-create-body input[type="button"]  {
      .border-radius(0px);
      background: @td_theme_color !important;
      color: white !important;
      border: none !important;
      font-family: @font5;
      font-weight: normal !important;
      font-size:14px !important;
      padding: 5px 12px 7px 12px !important;
      margin-bottom: 4px;

      .transition(opacity @td_transition_time);

      &:hover {
        text-shadow: none;
        opacity: 0.8;
        .transition(opacity @td_transition_time);
      }
    }

    //activate page
    #activate-page {
      .standard-form {
        input[type="text"] {
          background-color: #FCFCFC !important;
          border: 1px solid #F5F5F5 !important;
          height: 24px !important;
          width: 400px !important;
          margin-bottom: 0px;
          padding: 4px 6px !important;
          float: left;

          &:focus {
            border-color: #EDEDED !important;
          }

        /* responsive phone */
          @media (max-width: 767px) {
            width: 214px !important;
          }
        }
        .submit {
          padding: 0px !important;
        }

        input[type="submit"] {
          .border-radius(0px);
          border: none !important;
          color: #ffffff !important;
          background: @td_theme_color !important;
          font-family: @font5;
          font-weight: normal;
          font-size:14px;
          height: 34px;
          float: left;
          padding-bottom: 7px;
          padding-top: 5px;
          margin-bottom: 4px;

          .transition(opacity @td_transition_time);

          &:hover {
            text-shadow: none;
            opacity: 0.8;
            .transition(opacity @td_transition_time);
          }
        }
      }
    }

    .pagination {
      font-size: 100% !important;

      .pag-count {
        margin-left: 0px !important;
      }
    }
  }
}

.entry-crumbs .bp-title-button {
  display: none;
}

.td-page-title .bp-title-button {
  border: none;
}